<?php
     $agent = $_SERVER['HTTP_USER_AGENT'];
    
if (preg_match("(iPhone|BlackBerry|PalmSource)", $agent) != false) {
echo <<<END
<link rel='stylesheet' type='text/css' href='style.css' />
<!-- <meta name='viewport' content='width=480'> -->
END;
}
else {
     echo "<link rel='stylesheet' type='text/css' href='style.css' />"
;
}
?>